//---------------------------------------------------------------------
// File: Pop3MissingBoundaryException.cs
// 
// Summary: 
//
//---------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//---------------------------------------------------------------------

namespace Microsoft.Services.BizTalkApplicationFramework.BizUnit.Pop3
{
	using System;

	internal class Pop3MissingBoundaryException : Exception
	{
		private string m_exceptionString;

		internal Pop3MissingBoundaryException(): base()
		{
			m_exceptionString = null;
		}

		internal Pop3MissingBoundaryException(string exceptionString): base()
		{
			m_exceptionString = exceptionString;
		}

		internal Pop3MissingBoundaryException(string exceptionString,
			Exception ex) : base(exceptionString,ex)
		{
		}

		public override string ToString()
		{
			return m_exceptionString;
		}
	}
}
